package com.example.demo8;

public class Equipment {
    private String name;         // 装备名称
    private String description;  // 装备描述
    private int price;           // 装备价格（金币）
    private String avatarPath;   // 装备头像路径（用户后续填充）

    public Equipment(String name, String description, int price, String avatarPath) {
        this.name = name;
        this.description = description;
        this.price = price;
        this.avatarPath = avatarPath;
    }

    // Getter方法（供界面使用）
    public String getName() { return name; }
    public String getDescription() { return description; }
    public int getPrice() { return price; }
    public String getAvatarPath() { return avatarPath; }
}